FROM 192.168.75.129:5000/k8s/ubuntu:latest

# 下载 consul 文件到 Dockerfile同目录下
ADD consul /opt/consul/
WORKDIR /opt/consul
ENV PATH $PATH:/opt/consul
ENTRYPOINT ["bash", "-c", "consul","--version"]